<%@ page session="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<div>
    <%@ include file="/WEB-INF/views/session.jsp" %>
</div>
<div id="area">
	<div class="content" id="work">
		<p>&nbsp;</p>
		<center>
			<form:form modelAttribute="maquinaria" action="registrar.gsp" method="post">
				<table width="374" height="64">
<tr>
						<td width="284"><h2>Registro de Maquinarias</h2></td>
					</tr>
				</table>
				<table width="368" border="0">
	  <tr>
						<td width="56"><form:label path="codigo">Codigo</form:label></td>
				<td width="123"><form:input path="codigo"/></td>
				<td width="175"><form:errors path="codigo"/></td>
				  </tr>
					<tr>
						<td><form:label path="placa">Placa</form:label></td>
						<td><form:input path="placa"/></td>
						<td width="175"><form:errors path="placa"/></td>
				  </tr>
					<tr>
						<td><form:label path="descripcion">Descripcion</form:label></td>
						<td><form:input path="descripcion"/></td>
						<td width="175"><form:errors path="descripcion"/></td>
				  </tr>
				  <tr>
						<td><form:label path="imagen">Imagen</form:label></td>
						<td><form:input path="imagen"/></td>
						<td width="175"><form:errors path="imagen"/></td>
				  </tr>
					<tr>
						<td><form:label path="precio">Precio</form:label></td>
						<td><form:input path="precio"/></td>
						<td width="175"><form:errors path="precio"/></td>
				  </tr>
					<tr>
						<td>&nbsp;</td>
						<td><label> <input type="submit" name="btnRegistrar" id="btnRegistrar" value="Registrar" /> </label></td>
						<td width="175"></td>
				  </tr>
				</table>
			  <p>&nbsp;</p>
				<p>&nbsp;</p>
			</form:form>
		</center>
	</div>
	<div class="sidenav" id="nave">
		<%@ include file="/WEB-INF/views/menu.jsp" %>
		<p>&nbsp;</p>
	</div>
</div>